package com.zeldu.teacher.homework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("homework")
public class Homewrok {

    private static final long serialVersionUID = 1L;

    /*
     *
     * */
    @TableId(value = "ID",type = IdType.ID_WORKER)
    private Long id;
    /*
     * 居民名字
     * */
    @TableField(value = "teacher_id")
    private Long teacherId;

    @TableField(value = "course_id")
    private Integer courseId;
    /*
     *
     * */
    @TableField(value = "create_time")
    private Timestamp create_time;
    /*
     * 家庭地址
     * */
    @TableField(value = "start_time")
    private Timestamp startTime;
    /*
     *
     * */
    @TableField(value = "end_time")

    private Timestamp endTime;
    /*
     *
     * */
    @TableField(value = "homework_name")
    private String homeworkName;



}
